package com.beyondsoft.sabg.edu.service.dataanalysis;

import com.beyondsoft.sabg.edu.model.dto.ChatRequest;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

/**
 * 析言服务接口
 */
public interface AnalysisService {

    /**
     * 流式对话接口
     *
     * @param request 对话请求
     * @return SSE流式响应
     * @throws Exception 异常
     */
    SseEmitter chatStream(ChatRequest request) throws Exception;
} 